package app.ple.pi.powerdinner.Board;

public class BoardDTO {
	private String title;
	private String content;
	private String userName;
	private String location;
	private int index;
	private String phoneNum;
	private boolean isSoldOut;
	
	public BoardDTO(String title, String userName, String location,
			String phoneNum) {
		super();
		this.title = title;
		this.userName = userName;
		this.location = location;
		this.phoneNum = phoneNum;
	}
	
	public String getTitle() {
		return title;
	}
	public String getContent() {
		return content;
	}
	public String getUserName() {
		return userName;
	}
	public String getLocation() {
		return location;
	}
	public int getIndex() {
		return index;
	}
	public String getPhoneNum() {
		return phoneNum;
	}
	public boolean isSoldOut() {
		return isSoldOut;
	}
	
	@Override
	public String toString() {
		return "BoardDTO [title=" + title + ", content=" + content
				+ ", userName=" + userName + ", location=" + location
				+ ", index=" + index + ", phoneNum=" + phoneNum
				+ ", isSoldOut=" + isSoldOut + "]";
	}
	
	
	

}
